package com.learning.servlet3x.spring;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

/**
 * ClassName: WebApplicationInitializer
 * Description: 模拟 Spring 初始化,负责 web 初始化
 * Date: 2014/12/06  10:03 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public interface WebApplicationInitializer {
    /**
     * 模拟 SpringMVC 的初始化话
     *
     * @param ctx
     * @throws ServletException
     */
    void onStartup(ServletContext ctx) throws ServletException;
}
